package com.ruoyi.service;

import java.util.List;
import com.ruoyi.domain.Reservation;
import com.ruoyi.domain.vo.ReservationVO;

/**
 * 预约Service接口
 * 
 * @author ruoyi
 * @date 2025-03-18
 */
public interface IReservationService 
{
    /**
     * 查询预约
     * 
     * @param reservationId 预约主键
     * @return 预约
     */
    public Reservation selectReservationByReservationId(Long reservationId);

    /**
     * 查询预约列表
     * 
     * @param reservation 预约
     * @return 预约集合
     */
    public List<Reservation> selectReservationList(Reservation reservation);

    /**
     * 新增预约
     * 
     * @param reservation 预约
     * @return 结果
     */
    public int insertReservation(Reservation reservation);

    /**
     * 修改预约
     * 
     * @param reservation 预约
     * @return 结果
     */
    public int updateReservation(Reservation reservation);

    /**
     * 批量删除预约
     * 
     * @param reservationIds 需要删除的预约主键集合
     * @return 结果
     */
    public int deleteReservationByReservationIds(Long[] reservationIds);

    /**
     * 删除预约信息
     * 
     * @param reservationId 预约主键
     * @return 结果
     */
    public int deleteReservationByReservationId(Long reservationId);

    List<ReservationVO> getWithCoachAndCourse(Integer userid);
}
